#include"Queue.h"
int main()
{
	Queue qu;
	QueueInit(&qu);
	QueuePush(&qu, 10);
	QueuePrint(&qu);
	QueuePush(&qu, 90);
	QueuePrint(&qu);
	QueuePush(&qu, 50);
	QueuePrint(&qu);
	QueuePop(&qu);
	QueuePrint(&qu);
	QueuePop(&qu);
	QueuePrint(&qu);
	QueuePush(&qu, 770);
	QueuePrint(&qu);
	QueuePush(&qu, 430);
	QueuePrint(&qu);
	printf("front: %d\n",QueueFront(&qu));
	printf("rear: %d\n", QueueBack(&qu));
	printf("size: %d\n", QueueSize(&qu));
	printf("Emptysize: %d\n", QueueEmpty(&qu));
	QueuePop(&qu);
	QueuePop(&qu);
	QueuePrint(&qu);
	printf("size: %d\n", QueueSize(&qu));
	QueuePop(&qu);
	QueuePrint(&qu);
	printf("size: %d\n", QueueSize(&qu));
	
	printf("Emptysize: %d\n", QueueEmpty(&qu));
	while (qu.front)
	{
		printf("%d ", QueueFront(&qu));
		QueuePop(&qu);
	}

	return 0;
	
}